Welcome![Sign In][Sign Up]
Location:
Search - lexical analyzer for c

Search list

[ELanguage08

Description: 词法分析器的简单算法,使用的语言为C语言-Simple lexical analyzer algorithm, the language used for the C language
Platform: | Size: 201728 | Author: qq | Hits:

[ELanguageLexicalAnalyzer

Description: 用C做的一个词法分析器,对学习数据结构有帮助-With C doing a lexical analyzer, useful for learning data structures
Platform: | Size: 203776 | Author: 金雷雷 | Hits:

[ELanguageRJ010703

Description: C-词法分析器 编译原理第一次课程设计-C-compiler lexical analyzer curriculum design principle for the first time
Platform: | Size: 1250304 | Author: Richard | Hits:

[ELanguageCompiler

Description: 一份完整的编译原理课程设计.设计了一个词法分析器和一个利用LL(1)算法实现的语法分析器.可以对C-语言编写的程序进行词法分析和语法分析,当出现错误时推断可能的原因.并最终用直观的方式构建起一棵语法分析树.-A complete compilation Principle. Designed a lexical analyzer and a use of LL (1) parser algorithm. Can be written in C-language program for lexical analysis and syntax analysis, may be inferred when an error occurs reasons. and eventually built up with an intuitive way to parse tree.
Platform: | Size: 269312 | Author: 无意乂 | Hits:

[Editorp1_06300720201

Description: 采用C#编写的词法分析器,编写环境为VS05,有界面-Written using C# lexical analyzer, prepare the environment for the VS05, with interface
Platform: | Size: 137216 | Author: wxj | Hits:

[ELanguageSeuLex

Description: 本源码为自行开发的兼容C文法格式的词法分析器LEX,能实现Mini C的简单词法分析功能,并作为语法分析程序的输入。开发环境为VS2008-The source code is a self-developed format compatible with C grammar, lexical analyzer LEX, Mini C to achieve a simple lexical analysis, and as the input parser. Development environment for VS2008
Platform: | Size: 1957888 | Author: sunfulin | Hits:

[ELanguagecifa

Description: 词法分析器,适合学生作业。c语言实现的,有点简陋-Lexical analyzer, suitable for student work
Platform: | Size: 3072 | Author: Seraph | Hits:

[ELanguagecifafenxi

Description: 编译原理课上做的简单的词法分析器,功能比较简单。用来对C语言进行词法分析。-Compiler theory class to do a simple lexical analyzer function is relatively simple. Used for lexical analysis of the C language.
Platform: | Size: 1024 | Author: 陈力思 | Hits:

[ELanguageScanner

Description: 词法分析器C++程序,完整代码。 本程序实现Pascal语言子集单词符号的词法分析程序。具体功能为: (1)给出各单词符号的类别编码; (2)词法分析程序应能发现输入串中的错误; (3)词法分析作为单独一遍编写,词法分析结果为二元式序列组成的中间文件; -Lexer C++ program, a complete code. The Program for a subset of Pascal language words symbol of the lexical analyzer. Specific functions are: (1) gives the encoding of each word class symbols (2) lexical analyzer should be able to find errors in the input string (3), again written as a separate lexical analysis, lexical analysis is composed of binary-type sequence the intermediate file
Platform: | Size: 186368 | Author: hhy | Hits:

[Other resourcecffxq

Description: c语言编写的简单词法分析器的实现,适用于初学者的简单程序。-c lexical analyzer written in a simple implementation of a simple procedure for beginners.
Platform: | Size: 2048 | Author: tina | Hits:

[ELanguageMorphology

Description: 可以识别出用c++语言编写的源程序中的每个单词符号,并以记号的形式输出每个单词符号。 可以识别并读取源程序中的注释。 可以统计源程序中的标识符个数并输出。 检查原程序中存在的错误,并报告错误所在的行列位置。 发现原程序的错误后能进行适当的恢复,使程序继续运行。 用C/C++作为实现语言,编写词法分析程序。-Can be identified using c++ language source code symbols for each word, and to mark each word in the form of output symbols. Source can be identified and read in the comments. The identifier can count the number of source and output. Check for errors in the original program, and report errors where the ranks of the position. Found in the original program error can be properly restored, the program continues to run. With C/C++ as the implementation language, written lexical analyzer.
Platform: | Size: 166912 | Author: Eric | Hits:

[Other resourcebianyi

Description: 这是个简单的词法分析器,用c#语言书写,主要是编译原理的基础-This is a simple lexical analyzer, written with c# language, the main principle is the basis for compiling
Platform: | Size: 63488 | Author: duoer | Hits:

[ELanguageBYYL

Description: 编译原理词法分析器(附加说明文档),能够以标准C语言文件进行词法分析-Compiling principle lexical analyzer (additional documentation), be able to standard C language files for lexical analysis
Platform: | Size: 2107392 | Author: 陈浩 | Hits:

[VC/MFCcifafenxi

Description: (1)设计符号表 确定符号表的组织方式,一般应包括名字栏和信息栏,其中名字栏作为关键字。要考虑能够存储有关名字的信息,并可以高效地完成如下操作: a.查找:根据给定的名字,在符号表中查找其信息。如果该名字在符号表中不存在,则将其加入到符号表中,否则返回指向该名字的指针; b.删除:从符号表中删除给定名字的表项。 (2)设计词法分析器(也可以使用FLEX生成词法分析器) 设计各单词的状态转换图,并为不同的单词设计种别码。将词法分析器设计成供语法分析器调用的子程序。功能包括: a. 能够拼出语言中的各个单词; b. 将拼出的标识符填入符号表; c. 返回(种别码, 属性值)。 (3)语法分析与中间代码产生器(也可以使用BISON生成语法分析程序)   要求用递归下降分析法、预测分析法或SLR分析法,实现对表达式、各种说明语句、控制语句进行语法分析。   若语法正确,则输出一棵语法树。   若语法错误,要求指出出错性质和出错位置(行号)。出错处理应设计成一个出错处理子程序。-(1) Design symbol table Determine the symbol table of organization, the general should include the name bar and bar, where the name column as a keyword. To be considered capable of storing information about the name, and the following operations can be efficiently completed: a find: Find its information according to the name given in the symbol table. If the name does not exist in the symbol table, then it is added to the symbol table, otherwise it returns a pointer to the name of the pointer Delete: delete the given name from the symbol table entry. (2) design of lexical analyzer (You can also use the FLEX generate the lexical analyzer) The design of each word in the state transition diagram, and a word design for different kind as code. The lexical analyzer is designed for the parser calls the subroutine. Features include: a. to spell out each word in the language b. spell identifier fill in the symbol table c. return (other code, attribute values). (3) syntax analysis an
Platform: | Size: 2048 | Author: 夏帆 | Hits:

[JSP/Javahehe

Description: java词法分析器!!编译原理中用于对c语言的词法分析-java lexical analyzer! ! C language compiler theory for lexical analysis
Platform: | Size: 7168 | Author: 沈文龙 | Hits:

[ELanguageword

Description: 用C实现了一个建议的类Pascal语言的词法分析器,实现从源程序中分离出各种单词的方法,进行分析。程序的输入与输出全是以文件的形式。-C implementation of a proposed class Pascal language lexical analyzer to achieve a variety of words from the source separation method for analysis. The input and output of the program in the form of a document.
Platform: | Size: 2048 | Author: 马倩 | Hits:

[ELanguagescan

Description: //程序实现C语言词法分析器的设计 //用到的变量 // cch 放当前字符 // q 标志保留字(1:是 0:否) //StrToken 保留字列表 /*C语言中的保留字(32个) auto break case char const continue default do double else enum extern float for goto if int long register return short signed sizeof static struct switch typedef union unsigned void volatile while 运算符 ( ) [ ] { } . ! + - * / < <= > >= == ! = += -= *= , */ /*a = @ b = # 错误字符行,其中@,#两个符号为错误字符*/-//Program C language lexical analyzer design //Variables used in the //CCH discharge the current character //Q flag reserved word (1: 0: no) ,// StrToken reserved word list /* C language reserved words (32) auto break case char const continue default do double else enum extern float for goto if int long register return short signed sizeof static struct switch typedef union unsigned void volatile while Operator () [] {}+-* / << = >> ===! =+ =- =* =* / /* a = @ b =# incorrect character line, @,#, the two symbols of the incorrect character* /
Platform: | Size: 1024 | Author: 王文波 | Hits:

[Software Engineeringcifafenxiqi

Description: 这是一个由C++不便携的简单词法分析器,可供学习参考。-This is a C++ not portable simple lexical analyzer, available for study and reference.
Platform: | Size: 1024 | Author: ejan | Hits:

[OS programcifafenxi

Description: C++语言的词法分析器,非常智能化,适用于大多数课程设计的要求。-C++ language lexical analyzer, very intelligent, for most curriculum design requirements.
Platform: | Size: 2048 | Author: shishishi | Hits:

[Windows DevelopcYUYANCIFAFENXI

Description: 用C语言编写一个PL/0词法分析器(约定所有字符均为小写,不包含大写字符),为语法语义分析提供单词,使之能把输入的字符串形 式的源程序分割成一个个单词符号传递给语法语义分析,并把分析结果(基本字,运算 符,标识符,常数以及界符)-Using C language to write a PL/0 lexical analyzer (agreed all characters are lowercase, uppercase characters not included), with words for grammatical and semantic analysis, which can put the string input Split the source program into an analysis of transfer of each word symbol to the syntax and semantics, and the analysis results (basic word, operation Fu, identifiers, constants and bound)
Platform: | Size: 16384 | Author: sdf | Hits:
« 1 2 3 4 56 »

CodeBus www.codebus.net